type net/http.persistConn
45 uses
net/http (current package)
clientconn.go#L376: pconn *persistConn
transport.go#L100: idleConn map[connectMethodKey][]*persistConn // most recently used at end
transport.go#L818: func (pc *persistConn) shouldRetryRequest(req *Request, err error) bool {
transport.go#L1044: func (t *Transport) putOrCloseIdleConn(pconn *persistConn) {
transport.go#L1062: func (t *Transport) tryPutIdleConn(pconn *persistConn) error {
transport.go#L1138: t.idleConn = make(map[connectMethodKey][]*persistConn)
transport.go#L1261: func (t *Transport) removeIdleConn(pconn *persistConn) bool {
transport.go#L1271: func (t *Transport) removeIdleConnLocked(pconn *persistConn) bool {
transport.go#L1347: pc *persistConn
transport.go#L1369: func (w *wantConn) tryDeliver(pc *persistConn, err error, idleAt time.Time) bool {
transport.go#L1392: var pc *persistConn
transport.go#L1516: func (t *Transport) getConn(treq *transportRequest, cm connectMethod) (_ *persistConn, err error) {
transport.go#L1714: func (pconn *persistConn) addTLS(ctx context.Context, name string, trace *httptrace.ClientTrace) error {
transport.go#L1769: func (t *Transport) dialConn(ctx context.Context, cm connectMethod, isClientConn bool, internalStateHook func()) (pconn *persistConn, err error) {
transport.go#L1770: pconn = &persistConn{
transport.go#L1964: return &persistConn{t: t, cacheKey: pconn.cacheKey, alt: alt, isClientConn: true}, nil
transport.go#L1977: return &persistConn{t: t, cacheKey: pconn.cacheKey, alt: alt}, nil
transport.go#L1987: return &persistConn{t: t, cacheKey: pconn.cacheKey, alt: alt}, nil
transport.go#L2006: pc *persistConn
transport.go#L2115: type persistConn struct {
transport.go#L2163: func (pc *persistConn) maxHeaderResponseSize() int64 {
transport.go#L2167: func (pc *persistConn) Read(p []byte) (n int, err error) {
transport.go#L2183: func (pc *persistConn) isBroken() bool {
transport.go#L2192: func (pc *persistConn) canceled() error {
transport.go#L2199: func (pc *persistConn) isReused() bool {
transport.go#L2206: func (pc *persistConn) cancelRequest(err error) {
transport.go#L2216: func (pc *persistConn) closeConnIfStillIdle() {
transport.go#L2236: func (pc *persistConn) mapRoundTripError(req *transportRequest, startBytesWritten int64, err error) error {
transport.go#L2291: func (pc *persistConn) readLoop() {
transport.go#L2472: func (pc *persistConn) readLoopPeekFailLocked(peekErr error) {
transport.go#L2509: func (pc *persistConn) readResponse(rc requestAndChan, trace *httptrace.ClientTrace) (resp *Response, err error) {
transport.go#L2581: func (pc *persistConn) waitForContinue(continueCh <-chan struct{}) func() bool {
transport.go#L2649: func (pc *persistConn) writeLoop() {
transport.go#L2697: func (pc *persistConn) wroteRequest() bool {
transport.go#L2802: func (pc *persistConn) waitForAvailability(ctx context.Context) error {
transport.go#L2813: func (pc *persistConn) roundTrip(req *transportRequest) (resp *Response, err error) {
transport.go#L2975: func (pc *persistConn) markReused() {
transport.go#L2986: func (pc *persistConn) close(err error) {
transport.go#L2992: func (pc *persistConn) closeLocked(err error) {
transport.go#L3243: m map[*persistConn]*list.Element
transport.go#L3247: func (cl *connLRU) add(pc *persistConn) {
transport.go#L3250: cl.m = make(map[*persistConn]*list.Element)
transport.go#L3259: func (cl *connLRU) removeOldest() *persistConn {
transport.go#L3261: pc := ele.Value.(*persistConn)
transport.go#L3268: func (cl *connLRU) remove(pc *persistConn) {